""" 
@Version: 0.1
@FileName    :    for1
@Author      :    kx
@CreateTime  :    2021/7/6 17:54 
@Description :   用for循环实现1-100求和
"""

sum = 0
for i in range(101):
    sum += i
print('1-100的和：',sum)
